﻿using Xms.Abp.Application.Services;
using FeatureManagement.Localization;
using Xms.Abp.Domain.Repositories;
using Volo.Abp.Domain.Entities;

namespace FeatureManagement;

public abstract class FeatureManagementAppServiceBase<TEntity, TKey> : XmsApplicationService<TEntity, TKey>
    where TEntity : Entity<TKey>
{
    protected FeatureManagementAppServiceBase(IXmsRepository<TEntity, TKey> repository) : base(repository)
    {
        ObjectMapperContext = typeof(FeatureManagementApplicationModule);
        LocalizationResource = typeof(FeatureManagementResource);
    }
}
